<?php
require_once("conndb.php");
$link = connect();
//根据id删除记录
$sql = "delete from student where id="
         .$_REQUEST['id']
         ."";
$result = mysqli_query($link,$sql);

//页面跳转
header("Location:index.php");
?>